<!-- 找回密码 -->

<div class="forgot_con" style="padding:0 20px;">

    <{if $send_status == 'true'}>
    <p><{t}>为保障您的账户安全，请先验证您的身份<{/t}></p>
    <form action="<{link app=b2c ctl=site_passport act=resetpwd_code}>" method="post">
        <ul class="list-unstyled">
            <li>
                <label for=""><{t}>Способ подтверждения: <{/t}></label><br/>
                <div class="radio-inline">
                    <label for="for_verify_mobile" class="form-sub-label">
                        <input type="radio" name="send_type" checked id="for_verify_mobile" class="action-verify-method" value="mobile">

                        <{t}> Номер моб.телефона<{/t}>
                    </label>
                </div>

                <div class="radio-inline">
                    <label for="for_verify_email" class="form-sub-label">
                        <input type="radio" name="send_type" id="for_verify_email"   class="action-verify-method" value="email">
                        <{t}>Эл. почта<{/t}>
                    </label>
                </div>



                <div class="clearfix"></div>
            </li>
            <br/>

          <!--  <{if $site_sms_valide == 'true'}>
            <li class="op-verify-mobile">
                <div class="form-group" style="padding:15px 0">
                    <label for="" ><em class="warn">*</em><{t}>验证码：<{/t}></label>
                    <{input type="vcode" name="forgotverifycode" style="margin-bottom:10px;" class="sms-verify-input form-control" placeholder=$___b2c="填写验证码"|t:'b2c' data-caution=$___b2c="请正确填写验证码"|t:'b2c' key='LOGINVCODE' a_class="lnklike" }>
                </div>
            </li>
            <{/if}>-->



            <li class="form_item_none op-verify-mobile over_clean" style="height:auto;margin-bottom:20px;">
                <label for="" style="margin-bottom:10px;"><em class="warn">*</em><{t}>Введите телефон<{/t}></label>
                <span class="fr"><{$data.phone_setting}>&nbsp;&nbsp;&nbsp;&nbsp;<{$data.mobile}></span>
                <div class="row">
                    <!--手机验证-->
                    <div class="col-lg-6 col-md-4 col-sm-4 col-xs-4">
                        <div>
                            <select name="forgot-phone-setting" id="forgot-phone-setting" class="form-control">
                                <{foreach from=$phones item=items}>
                                <option sid="<{$items.length}>" value="<{$items.area}>"><{$items.country}><{$items.area}></option>
                                <{/foreach}>
                            </select>
                        </div>
                    </div>
                    <div class="col-lg-6 col-md-8 col-sm-8 col-xs-8">
                        <div>
                            <{input type="hidden" name="phone_length" value="" id="phone_length"}>
                            <{input type="text" name="username_phone" signup_type="mobile"  placeholder=$___b2c="请填写手机号"|t:'b2c' vtype="required"  id="check_tel" class="action-account-check form-control"}>
                        </div>
                    </div>
                </div><!--row-->

                <div class="clearfix"></div>
                <a style="color:#333;margin-top:8px;text-decoration: underline;" href="<{link app=b2c ctl=site_passport act=send_vcode_sms}>" data-mobile="" phone-setting="" class="pull-right action-get-verifycode"><span><span><{t}>获取验证码<{/t}></span></span></a>
                <div class="clearfix"></div>
            </li>
            <li class="op-verify-mobile">
                    <label for=""><em class="warn">*</em><{t}>Введить код подтверждения:<{/t}></label>
                    <span ><{input  type="text" name="mobilevcode" id="" vtype="required" class="form-control"}></span>
                    <span class="caution-content"><{$msg}></span>
            </li>


            <li class="op-verify-email hide  mar-t-10">
                <label for=""><{t}>邮箱地址：<{/t}></label>
                <span><{$data.email}> <a href="<{link app=b2c ctl=site_passport act=send_vcode_email}>" class="btn btn-default btn-sm pull-right action-resend-email" rel="_request" data-params="{uname:'<{$data.email}>',type:'forgot'}"  data-ajax-config="{loadtip:'发送中...'}"><span><span><{t}>发送验证邮件<{/t}></span></span></a></span>
                <div class="clearfix"></div>
            </li>
            <li class="op-verify-email hide">
                <div>
                    <label for=""><{t}>填写验证码：<{/t}></label>
                    <span><{input type="text"  name="emailvcode" id="" class="form-control" vtype="required"}></span>
                    <span class="caution-content"><{$msg}></span>
                </div>
            </li>

            <li>
                <{button type="submit" label=$___b2c="下一步"|t:'b2c' class="btn btn-primary pull-right" style="margin-top:15px;" rel="_request" data-ajax-config="{onSuccess:function(rs){changeStep(rs, 3, function(e){passwordStrength.init($$('form .auto-password-check-handle'));});}}"}>
                <div class="clearfix"></div>
            </li>
        </ul>
        <input type="hidden" id="forgot_email" name="forgot_email" value="<{$data.email}>">
    </form>
    <{else}>
    <!-- <div class="been-send">发生错误，请重试。</div> -->
    <div class="been-send"><i class="icon icon-warning">$</i><{t}>由于您并未验证手机或者邮箱，无法自助找回密码，请联系网站客服！<{/t}></div>
    <{/if}>
</div>

